package cn.maihe.elg.operation.repository.entity.entityCustom;

import cn.maihe.elg.operation.repository.entity.PermissionDO;
import com.baomidou.mybatisplus.annotations.TableField;
import lombok.Data;

import java.util.List;

@Data
public class PermissionDOCustom extends PermissionDO {

    /**子节点列表*/
    @TableField(exist =false)
    private List<PermissionDO> children;

    /**是否存在,用于角色模块*/
    @TableField(exist =false)
    private boolean checked = false;
}
